package com.tryLogin.mapper;

import com.tryLogin.domain.Users;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UsersMapper {

    int insertUser(Users u);//增

     List<Users> checkAll();//查全部

    Users checkOne(Users u);//查单个

    List<Users>  checkByTel(Users u);//查单个

    int updateUser(Users u);//改

    int deleteUser(Users u);//改

}
